using System;
using Microsoft.Xna.Framework;

namespace SharpWind.Graphics.Models
{
	public class Keyframe
	{
		#region Fields

		private int bone = 0;

		private TimeSpan time = TimeSpan.MinValue;

		private Matrix transform = Matrix.Identity;

		#endregion

		#region Constructor

		public Keyframe( int bone, TimeSpan time, Matrix transform )
		{
			this.bone		= bone;
			this.time		= time;
			this.transform	= transform;
		}

		#endregion

		#region Properties

		public int Bone
		{
			get
			{
				return this.bone;
			}
		}

		public TimeSpan Time
		{
			get
			{
				return this.time;
			}
		}

		public Matrix Transform
		{
			get
			{
				return this.transform;
			}
		}

		#endregion
	}
}
